package com.example.spring_config.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.spring_config.mapper.RolePermission;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PermissionRoleRelationService extends IService<RolePermission> {

    Boolean addRolePermission(String rid,List<String> pids);

    List<String> getPermissionIds(String rid);
}
